package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 ls_banner
 * 
 * @author zhouyipeng
 * @date 2023-10-13
 */
public class LsBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** uuid */
    private String id;

    /** 轮播图名称 */
    @Excel(name = "轮播图名称")
    private String bannarName;

    /** 轮播图地址 */
    @Excel(name = "轮播图地址")
    private String bannarUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 0：不显示 1：显示 */
    @Excel(name = "0：不显示 1：显示")
    private Long isShow;

    /** 0：不删除 1：删除 */
    @Excel(name = "0：不删除 1：删除")
    private Long isDel;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createrTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBannarName(String bannarName) 
    {
        this.bannarName = bannarName;
    }

    public String getBannarName() 
    {
        return bannarName;
    }
    public void setBannarUrl(String bannarUrl) 
    {
        this.bannarUrl = bannarUrl;
    }

    public String getBannarUrl() 
    {
        return bannarUrl;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setCreaterTime(Date createrTime) 
    {
        this.createrTime = createrTime;
    }

    public Date getCreaterTime() 
    {
        return createrTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannarName", getBannarName())
            .append("bannarUrl", getBannarUrl())
            .append("sort", getSort())
            .append("isShow", getIsShow())
            .append("isDel", getIsDel())
            .append("createrTime", getCreaterTime())
            .toString();
    }
}
